package cn.com.huzo.model.entities.purchase;

import com.fasterxml.jackson.annotation.JsonFormat;
import huzofw.model.entities.IAggregateRoot;
import java.io.Serializable;
import java.sql.Timestamp;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 采购合同统计报表实体类
 *
 * @author 吴旭
 */
public class ReportPoStatisticsEntity implements Serializable, IAggregateRoot {

    private static final long serialVersionUID = 3916374298092034568L;
    private String SupplierName;             // 供应商
    private String StyleNo;                  // 款号
    private String MaterialName;
    private String MaterialCode;
    private String MaterialColourNumber;
    private String MaterialColourName;
    private String Specification;            // 规格   
    private Float PoQuantity;                // 采购数
    private String PoUomName;                // 采购单位
    private Float Amount;                    // 采购金额
    private Timestamp SignedDate;            // 落单日期
    private Float MrpQuantity;               // 物料需求数（用来对应采购）
    private String MrpUomName;               // 物料需求单位
    private Short RowFlag;                   // 行类型，0-正常行，1-小计行

    public String getSupplierName() {
        return SupplierName;
    }

    public void setSupplierName(String SupplierName) {
        this.SupplierName = SupplierName;
    }

    public String getStyleNo() {
        return StyleNo;
    }

    public void setStyleNo(String StyleNo) {
        this.StyleNo = StyleNo;
    }

    public String getMaterialName() {
        return MaterialName;
    }

    public void setMaterialName(String MaterialName) {
        this.MaterialName = MaterialName;
    }

    public String getMaterialCode() {
        return MaterialCode;
    }

    public void setMaterialCode(String MaterialCode) {
        this.MaterialCode = MaterialCode;
    }

    public String getMaterialColourNumber() {
        return MaterialColourNumber;
    }

    public void setMaterialColourNumber(String MaterialColourNumber) {
        this.MaterialColourNumber = MaterialColourNumber;
    }

    public String getMaterialColourName() {
        return MaterialColourName;
    }

    public void setMaterialColourName(String MaterialColourName) {
        this.MaterialColourName = MaterialColourName;
    }

    public String getSpecification() {
        return Specification;
    }

    public void setSpecification(String Specification) {
        this.Specification = Specification;
    }

    public Float getPoQuantity() {
        return PoQuantity;
    }

    public void setPoQuantity(Float PoQuantity) {
        this.PoQuantity = PoQuantity;
    }

    public String getPoUomName() {
        return PoUomName;
    }

    public void setPoUomName(String PoUomName) {
        this.PoUomName = PoUomName;
    }

    public Float getAmount() {
        return Amount;
    }

    public void setAmount(Float Amount) {
        this.Amount = Amount;
    }

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    public Timestamp getSignedDate() {
        return SignedDate;
    }

    public void setSignedDate(Timestamp SignedDate) {
        this.SignedDate = SignedDate;
    }

    public Float getMrpQuantity() {
        return MrpQuantity;
    }

    public void setMrpQuantity(Float MrpQuantity) {
        this.MrpQuantity = MrpQuantity;
    }

    public String getMrpUomName() {
        return MrpUomName;
    }

    public void setMrpUomName(String MrpUomName) {
        this.MrpUomName = MrpUomName;
    }

    public Short getRowFlag() {
        return RowFlag;
    }

    public void setRowFlag(Short RowFlag) {
        this.RowFlag = RowFlag;
    }
}
